package com.rf.richfitwheel.workflow.service;

import com.rf.richfitwheel.admin.sys.vo.UserVO;
import com.rf.richfitwheel.common.utils.PageUtils;
import com.rf.richfitwheel.workflow.model.WfStationProcess;
import com.rf.richfitwheel.workflow.model.WfStationProcessOrder;
import net.sf.json.JSONArray;

import java.util.List;
import java.util.Map;

/**
 * 岗位流程顺序
 *
 * @author zhanglu
 * @email zhanglu2@cnpc.com.cn
 * @date 2021-07-22 13:57:21
 */
public interface WfStationProcessOrderService {

    PageUtils queryPage(Map<String, Object> params);

    List<WfStationProcessOrder> selectListByStationProcessId(String stationProcessId);

    void deleteByStationProcessId(String stationProcessId);

    void addWfStationProcessOrder(WfStationProcessOrder wfStationProcessOrder, UserVO userVO);

    List<WfStationProcessOrder> saveWfStationProcessOrderAndReturnList(JSONArray stationDataList, WfStationProcess wfStationProcess, UserVO userVO);

    WfStationProcessOrder selectById(String id);

    void updateAuthType(String stationProcessOrderId, String authType);
    
}

